Pumpkin goal: a LocalAlerts custom widget
=========================================

A scary chibi jack-o'-lantern that fills with glowing orange from the bottom as your goal goes up. Embers drift up off
the glow, its carved face lights up (with a candle flicker) as the glow reaches it, and it gets hotter as it fills. At
100% it blazes and a swarm of bats bursts out. Autumn leaves drift down behind it.
It counts followers, subs, bits, tips, raiders, channel point redeems, or everything, and remembers its count between
streams.

Add it to LocalAlerts
1. Unzip this folder somewhere it can stay (for example Documents\LocalAlerts widgets\Pumpkin goal).
2. In LocalAlerts: Widgets -> + New widget -> Custom widget (HTML / CSS / JS).
3. Widget folder -> Choose folder... and pick this folder. Its settings appear underneath.
4. It takes its own name and size (400 x 480) from widget.json when you choose the folder.
   Drag it onto your overlay. To change its size, drag the edges of its box on the canvas: it gets more room and
   stays sharp in OBS.
Try it with the Test buttons: "Count Test events too" is on, so tests fill it. Turn that off before you go live, then
type "!pumpkin reset" in chat.

Chat commands (you and your mods): !pumpkin add 5   !pumpkin set 20   !pumpkin reset

Change it
  widget.json  its name and size when it's added
  fields.json  the settings people can change without code
  index.html   the pumpkin itself, drawn in SVG (its outline is the path with id="pumpkin", the face id="face-holes")
  style.css    the title, numbers and leaves
  script.js    the counting, the glow, embers and bats
After changing a file, refresh the overlay in OBS (right-click it -> Refresh).

Free to use and change for your streams.
